#ifndef BULLETMANAGER_H
#define BULLETMANAGER_H

#include <irrKlang.h>
#include <iostream>
#include <vector>
#include "CSprite.h"
#include "Bullet.h"

class BulletManager
{
    public:
        BulletManager();
        virtual ~BulletManager();
        void addBullet(irrklang::vec3df& vel, irrklang::vec3df& pos);
        void update();
        void draw();
        bool hitTest(irrklang::vec3df& pos, float width, float height);
    protected:
    private:
        std::vector<Bullet*> bullets;
        CSprite* image;
};

#endif // BULLETMANAGER_H
